home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
turbovis
/
tvtoys04.zip
/
CHECKVT.PAS
next >
Wrap
Pascal/Delphi Source File
|
1993-12-07
|
2KB
|
56 lines
(***************************************************************************
CheckVT include
Check what video types automatically?
PJB November 21, 1993, Internet mail to d91-pbr@nada.kth.se
Copyright 1993, All Rights Reserved
Free source, use at your own risk.
If modified, please state so if you pass this around.
***************************************************************************)
(*******************************************************************
This code generated by Dialog Design 4.0 available by anonymous
ftp to garbo.uwasa.fi /pc/turbovis. Thanks to David Baldwin
*******************************************************************)
function MakeVideoTestDialog : PDialog;
var
Dlg : PDialog;
R : TRect;
Control : PView;
begin
R.Assign(17, 6, 63, 17);
New(Dlg, Init(R, 'Automatic Video Detection'));
Dlg^.Options := Dlg^.Options or ofCentered;
R.Assign(15, 3, 30, 5);
Control := New(PCheckboxes, Init(R,
NewSItem('VESA',
NewSItem('Video 7', Nil))));
Control^.HelpCtx := hctoyVTCheckVesa;
Dlg^.Insert(Control);
R.Assign(12, 2, 34, 3);
Dlg^.Insert(New(PLabel, Init(R, 'Automatically detect:', Control)));
R.Assign(6, 8, 16, 10);
Control := New(PButton, Init(R, 'O~K~', cmOK, bfDefault));
Control^.HelpCtx := hcOK;
Dlg^.Insert(Control);
R.Assign(18, 8, 28, 10);
Control := New(PButton, Init(R, 'Cancel', cmCancel, bfLeftJust));
Control^.HelpCtx := hcCancel;
Dlg^.Insert(Control);
R.Assign(30, 8, 40, 10);
Control := New(PButton, Init(R, 'Help', cmHelp, bfGrabFocus));
Control^.HelpCtx := hctoyVTDialogHelp;
Dlg^.Insert(Control);
R.Assign(8, 6, 38, 7);
Control := New(PStaticText, Init(R, '(if unsure, try checking both)'));
Dlg^.Insert(Control);
Dlg^.SelectNext(False);
MakeVideoTestDialog := Dlg;
end;